package com.dao.impl;

import com.bean.User;
import com.dao.UserDao;
import com.mapper.UserMapper;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Repository;

import java.util.Map;

@Repository
public class UserDaoImpl implements UserDao {

    @Autowired
    private UserMapper userMapper;

    @Override
    public User login(Map<String, String> map) {
        return userMapper.login(map);
    }
}
